﻿using System;

namespace Sustainalytics.News.BusinessLogic
{
    public class NewsNotValidException : Exception
    {
        public NewsValidationException[] ValidationErrors { get; set; }


        public NewsNotValidException(NewsValidationException[] validationErrors)
        {
            this.ValidationErrors = validationErrors;
        }
    }
}
